package com.example.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 审核记录表
 *
 * @TableName t_audit_record
 */
@TableName(value = "t_audit_record")
@Data
@ToString
@Builder
public class AuditRecord implements Serializable {
	@Serial
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	@Schema(description = "审核记录ID，主键，自增长")
	@TableId(type = IdType.AUTO)
	private Integer auditRecordId;

	@Schema(description = "用户ID，外键关联用户表。")
	private Long userId;

	@Schema(description = "订单编号")
	private String orderNumber;

	@Schema(description = "平台名称")
	private String platformName;

	@Schema(description = "商家ID，外键关联商家表。")
	private Integer shopId;

	@Schema(description = "手机尾号")
	private String phoneTail;

	@Schema(description = "审核备注")
	private String commentPhoto;

	@Schema(description = "审核状态")
	private Integer statusId;

	@Schema(description = "审核金额")
	private Double auditMoney;

	@Schema(description = "创建时间")
	private LocalDateTime createTime;

	@Schema(description = "审核时间")
	private LocalDateTime auditTime;

	@Schema(description = "停用时间")
	private LocalDateTime stopTime;

	@Schema(description = "删除标记")
	private Integer delFlag;

}